import express from 'express';
import { MedicalController } from '../controllers/medicalController.js';

const router = express.Router();

router.get('/', MedicalController.getAllRecords);
router.post('/', MedicalController.createRecord);
router.put('/:id', MedicalController.updateRecord);

export default router;